projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d673d8
)
(Finsert_file_contents): Don't call prepare_to_modify_buffer
author
Richard M. Stallman
<rms@gnu.org>
Sun, 1 Aug 1993 12:19:11 +0000
(12:19 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 1 Aug 1993 12:19:11 +0000
(12:19 +0000)
if inserting zero characters.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 04962eee1df697890837cb10bbed150b1dd4a4be..f4537ba0fda536911850a011065f49872f2b0c73 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2446,7
+2446,7
@@
If VISIT is non-nil, BEG and END must be nil.")
error ("maximum buffer size exceeded");
}
- if (NILP (visit))
+ if (NILP (visit)
&& total > 0
)
prepare_to_modify_buffer (point, point);
move_gap (point);